package tokens;
/**
 * A token that is a literal (number).
 * 
 * @author James Santos-Calacat
 * @version 26 February 2010
 *
 */
public class LiteralToken extends Token
{

	/**
	 * The token value.
	 */
	private int value;
	
	/**
	 * Constructs a LiteralToken that takes in a value.
	 * @param the_value The token value.
	 */
	public LiteralToken (final int the_value)
	{
		value = the_value;
	}
	
	/**
	 * Returns the literal value.
	 * @return What is your value?
	 */
	public int getValue()
	{
		return value;
	}
}
